package com.aaa.service;

import com.aaa.dao.PaikeDao;
import com.aaa.dao.impl.PaikeDaoImpl;
import com.aaa.entity.PaikemingxiEntity;

import java.util.List;

public class PaikeServiceImpl implements PaikeService {

    PaikeDao dao=new PaikeDaoImpl();
    @Override
    public int add(PaikemingxiEntity info) {
        return dao.add(info);
    }

    @Override
    public List queryclass() {
        return dao.queryclass();
    }

    @Override
    public List queryroom() {
        return dao.queryroom();
    }

    @Override
    public List queryteacher() {
        return dao.queryteacher();
    }

    @Override
    public List query() {
        return dao.query();
    }
}
